package com.jiulan.hearthearing.ui.my.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.jiulan.hearthearing.R;
import com.jiulan.hearthearing.ui.my.model.CouponModel;

import java.util.List;

public class CouponAdapter extends BaseQuickAdapter<CouponModel.DataBean, BaseViewHolder> {
    private int clickId = -1;

    //进入单选页面执行这个方法，选中传过来的ID对应的item
    public void setClickPosition(int clickId) {
        this.clickId = clickId;
    }

    public CouponAdapter(List<CouponModel.DataBean> data) {
        super(R.layout.item_coupon, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, CouponModel.DataBean item) {

    }
}
